package com.ps.mapper;

import com.ps.pojo.PoleInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 杆塔信息表 Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2020-12-18
 */
public interface PoleInfoMapper extends BaseMapper<PoleInfo> {
    @Select("select * from ps_pole_info where " +
            " polecode like '%${qian}%' ORDER BY id desc limit 1")
    public PoleInfo getPole(String qian);
}
